package java44th.group.service.admin.role;

import java44th.group.bean.admin.bo.role.CreateBo;
import java44th.group.bean.admin.bo.role.PermissionsBo;
import java44th.group.bean.json.DataDTO;
import java44th.group.bean.po.MarketRole;
import java44th.group.bean.admin.vo.role.CreateVo;
import java44th.group.bean.admin.vo.role.OptionsVo;
import java44th.group.bean.admin.vo.role.RoleDateVo;

/**
 * @Aurhor: 王可龙
 * @DATE: 2022/10/12 20:23
 * @Package:java44th.group.service.admin.role
 * @Description:
 * @Version 1.0
 */
public interface MarketRoleService {

    RoleDateVo list(Integer page, Integer limit,String name, String sort, String order);

    CreateVo create(CreateBo createBo);

    Integer update(MarketRole marketRole);


    void delete(MarketRole marketRole);

    OptionsVo options();

    DataDTO permissions(Integer roleId);

    DataDTO permissions2(PermissionsBo permissions);
}
